package com.pubsys.main.client.paginas.consulta;

import java.util.HashMap;

import com.google.gwt.user.client.ui.Widget;
import com.pubsys.main.client.aplicacao.Activity;
import com.pubsys.main.client.aplicacao.ActivityFactory;
import com.pubsys.main.client.paginas.consulta.view.ConsultaUI;

public class PaginaConsulta extends Activity {
	private ConsultaUI viewComponent;
	
	public PaginaConsulta() {
		
	}
	
	@Override
	public void start() {
		//inicializa a view da pagina
		this.viewComponent = new ConsultaUI();

	}

	@Override
	public HashMap<String, String> getActivityParametersAsHashMap() {
		return null;
	}

	@Override
	public void setActivityParametersFromHistoryToken(HashMap<String, String> placeParameters) {
	}

	@Override
	public Widget getView() {
		return this.viewComponent;
	}

	@Override
	public String getUniqueActivityName() {
		return ActivityFactory.CONSULTA;
	}

}
